package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.DisasterPrevent;
import cn.topevery.garden.entity.query.DisasterPreventQuery;
import cn.topevery.garden.entity.vo.DisasterPreventVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;
import java.util.Map;

/**
 * 自然灾害防范保护
 *
 * @author code-generate
 * @date 2022-02-18
 */
public interface DisasterPreventDao extends BaseDao<DisasterPrevent> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<DisasterPreventVO> listPage(DisasterPreventQuery query);

    DisasterPrevent getEntityByColumn(String key, String value);

    List<Map<String, Object>> getDisasterNameList();
}
